﻿@model FunCode.MVCweb.Controllers.EFObjectContextModel
@{
    Layout = "~/Views/Shared/_CodeLayout.cshtml";
}
    @@model IEnumerable<CVsharp.Models.Entities.sysLog>
@@{                
    ViewBag.AddActionUrl = Url.Action("Create");
    ViewBag.EditActionUrl = Url.Action("Details", new { id = "{id}" });
    ViewBag.DeleteActionUrl = Url.Action("Delete",new {id="{id}"});
    ViewBag.ThisUrl = Url.Action("");
}
@@{
    Layout = "~/Views/Shared/Dwz/_DwzCssListLayout.cshtml";
}
@@section PagerFormKey{
<input type="hidden" name="keyword" value="@@ViewBag.pagination.Keywords" />
}
<thead>
    <tr>
        @foreach (var item in Model.Properties)
        {
        <th>
            @item.Name
        </th>
        }
    </tr>
</thead>
<tbody>
@@foreach (var item in Model)
{
    <tr target='id' rel='@@item.@Model.Properties[0].Name .ToString()'>
    @foreach (var item in Model.Properties)
    {
        <td>
            @@Html.DisplayFor(modelItem => item.@item.Name)
        </td>
    }
    </tr>
}
</tbody>